<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
   <%@include file="/view/resource.jsp" %>
	<!-- Js Start -->
<script type="text/javascript">
YY.plateMain = function(){
	var _box = null;
	var _this = {
		config:{
  			dataGrid:{
  				title:'板块类型列表',
	   			url:'dataList.do',
	   			columns:[[
						{field:'id',checkbox:true},
						{field:'plate_name',title:'类型名称'}
				]]
			}
		},
		init:function(){
			_box = new YDataGrid(_this.config); 
			_box.init();
			
		}
	}
	return _this;
}();

$(function(){
	YY.plateMain.init();
});		
</script>
  </head>
  <body class="easyui-layout">
	 <!-- Search panel start -->
 	 <div class="ui-search-panel" region="north" style="height: 50px;" title="" data-options="striped: true,collapsible:false,iconCls:'icon-search',border:false" >  
 	 <form id="searchForm">
 	 	<p class="ui-fields"> 
 	 		
            <label class="ui-label">板块名称:</label>
            <input name="plate_name" class="easyui-box ui-text" style="width:100px;">
        </p>
        <a href="#" id="btn-search" class="easyui-linkbutton" iconCls="icon-search">查询</a>
      </form>  
     </div> 
     <!--  Search panel end -->
     
     <!-- Data List -->
     <div region="center" border="false" >
     <table id="data-list"></table>
     </div>
     
     
     <!-- Edit Win&Form -->
<div id="edit-win" class="easyui-dialog" title="板块信息" data-options="closed:true,iconCls:'icon-save',modal:true" style="width:400px;height:150px;">  
 	<form id="editForm" class="ui-form" method="post">  
   		<input class="hidden" name="id">
 	 	<input name="plate_id" type="hidden">
 		  <div class="ui-edit">
 		  <div class="ftitle"></div>    
         <div class="fitem">  
             <label>板块名称:</label>  
             <input class="easyui-validatebox" type="text" name="plate_name" data-options="required:true">
         </div>  
      </div>
 	</form>
</div>
   
  </body>
</html>
